#ifndef _G_DEFINE_H_
#define _G_DEFINE_H_



typedef long SGint32;
typedef short SGint16;
typedef long long SGint64;

typedef unsigned long SGuint32;
typedef unsigned short SGuint16;
typedef unsigned long long SGuint64;

#undef	NULL
#define NULL    0

#define  rewrite

template<class _T>
class xSingletonClass
{
public:
	xSingletonClass(){}
	~xSingletonClass(){}

public:
	static _T* Instance()
	{
		static _T ins;
		return &ins;
	}

};
























#endif //_G_DEFINE_H_


